package com.jtbd.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 客户孩子关系表
 *
 * @TableName customer_children_relation
 */
@TableName(value = "customer_children_relation")
@Data
@Schema(description = "客户孩子关系表")
public class CustomerChildrenRelation {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    @Hidden
    private Long id;

    /**
     * 客户id
     */
    @Schema(description = "客户id")
    private Long customerId;

    /**
     * 孩子id
     */
    @Schema(description = "孩子id")
    private Long childrenId;

    /**
     * 关系 1,爸爸 2,妈妈 3,爷爷 4,奶奶 5,其他
     */
    @Schema(description = "关系 1,爸爸 2,妈妈 3,爷爷 4,奶奶 5,其他")
    private Integer relation;
}